import 'package:flutter/material.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBHelper/YBImageStyle/YBImageStyle.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBHelper/YBTextStyle/YBTextStyle.dart';


class YBMapMiShuBottomPage extends StatelessWidget {
  final String imageStr;
  final String title;

  const YBMapMiShuBottomPage({Key key, this.imageStr, this.title}) : super(key: key);


  @override
  Widget build(BuildContext context) {
    return Container(
      child: Row(
        mainAxisAlignment: MainAxisAlignment.spaceAround,
        crossAxisAlignment: CrossAxisAlignment.center,
        children: [
           Container(
             child: Image.asset(YBImageStyle.getImagePath(imageStr)),
           ),
           Container(
             width: 5,
           ),
           Container(
             child: Text(title,style: YBTextStyle.TextStyle30313312,),
           ),
        ],
      ),
    );
  }
}
